package com.ficus.road.maintain.core.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ficus.road.maintain.core.model.digitalTwin.Asset;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@NoArgsConstructor
@AllArgsConstructor
public class FrameDTO {
    private String carId;
    private GpsResult gpsLocation;
    private String picture;
    private String diseasePicture;
    private String lidarPicture;
    private String segmentPicture;
    private Long timeStamp;
    private Long sendTimeStamp;
    private Long sequenceId;
    private String bumpsType;
    private Float comfortRate;
    private Integer coverRate;
    private Integer imageType;
    private List<RoadDiseaseResult> roadDiseaseResult;
    private List<RoadPerceptionResult> roadPerceptionResult;
    private List<Asset> assets;
    private List<Hit> hits;
    private String uuid;

    // 算法版本
    private String algoVersion;

    // 当前视频文件是否压缩
    private Boolean compressed;

    // 下一段视频是否压缩
    private Boolean nextCompressed;

    // 当前图片地址
    private String picturePath;
    // 当前图片地址
    private String nextPicturePath;
}
